import request from '@/utils/request'
export default {
  getArticle(page){
    return request({
      url: `/admin/article/search/${page}`,
      method: 'get'
    })
  },
  saveArticle(searchobj){
    return request({
      url: `/admin/article/save`,
      method: 'post',
      data:searchobj
    })
  },
  remove(id){
    return request({
      url:`/admin/article/remove/${id}`,
      method:'get'
    })
  },
  getInfo(id){
    return request({
      url:`/admin/article/getArticle/${id}`,
      method:'get'
    })
  }
}
